package com.qf.base.mapper;

import com.qf.base.domain.BaseCustomer;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

public interface BaseCustomerMapper {

    List<BaseCustomer> selectCustomerList(BaseCustomer customer);

    int insertCustomer(BaseCustomer customer);

    BaseCustomer selectCustomerById(Long id);

    int updateCustomer(BaseCustomer customer);

    int deleteCustomerByIds(Long[] ids);

    void saveBatch(List<BaseCustomer> cachedDataList);

    //查询所有客户信息
    List<BaseCustomer> findCustomerList();
}
